package com.taiji.dianthus.service.sms;

import com.taiji.dianthus.common.BusinessMessage;
import com.taiji.dianthus.domain.sms.SmsGroup;

import java.util.List;

/**
 * @InterfaceName SmsGroupService
 * @Description
 * @Author H.M
 * @Date 2020/7/15
 */
public interface SmsGroupService {
    BusinessMessage list(Integer currentPage,Integer pageSize,  String groupName,String id);
    BusinessMessage save(SmsGroup smsGroup);
    BusinessMessage delete(String id);

    SmsGroup getOneById(String id);

    BusinessMessage checkGroupName(String groupName,String groupId,String userId);

    List<SmsGroup> getAllGroupNoPage(String id);
}
